package org.qiaice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.qiaice.entity.Dish;
import org.qiaice.entity.vo.DishVO;

@Mapper
public interface DishMapper extends BaseMapper<Dish> {

    DishVO queryById(Long id);

    IPage<DishVO> pageQuery(Long categoryId, String name, Integer status, Page<?> page);
}
